package com.jiayang.module.equipment;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiayang.module.equipment.domain.dto.EquipmentFindDTO;
import com.jiayang.module.equipment.domain.entity.EquipmentEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ Author     ：OuyangChenglong
 * @ Date       ：Created in 13:24 2021/9/7
 * @ Description：场站管理
 * @ Modified By：
 * @Version: 1.0$
 */
@Mapper
@Component
public interface EquipmentDao extends BaseMapper<EquipmentEntity> {

    List<EquipmentFindDTO> getEquipmentByStationId(String id);


    List<EquipmentEntity> getAllEquipmentByUserId(Long uid);
}
